<?php if (!defined('THINK_PATH')) exit();?><table class="table-grid">
    <thead>
    <tr><th class="col-idx"><a href="#" class="btn-arrowstop lnk-multiple" onclick="">&nbsp;</a></th><th>姓名</th><th>性别</th><th>电话</th><th>地址</th><th>备注</th><th>时间</th><th>操作</th></tr>
    </thead>
    <tbody>
    <?php if(is_array($list)): foreach($list as $key=>$vo): if(is_numeric($key)): $key=$key+1; endif; ?><tr><td><?php echo ($key); ?></td><td><?php echo ($vo["user_name"]); ?></td><td><?php echo ($vo["sex"]); ?></td><td><?php echo ($vo["extensionnumber"]); ?></td><td><?php echo ($vo["address"]); ?></td><td><?php echo ($vo["remark"]); ?></td><td><?php echo ($vo["createdtime"]); ?></td><td><a href="<?php echo U('Admin/admin_edit','id='.$vo['id']);?>" class="btn-edit">编辑</a><a href="<?php echo U('Admin/admin_delete','id='.$vo['id']);?>" class="btn-trash lnk-confirm">删除</a></td></tr><?php endforeach; endif; ?>
    </tbody>
</table>
<?php echo ($pager); ?>